#include "stdafx.h"
#include "SceneMap.h"
#include <iostream>
SceneMap::SceneMap()
: m_width(0), m_height(0)
{

}

SceneMap::~SceneMap(void)
{
}

bool SceneMap::loadSceneMapFile(const char* filename)
{
	if(!m_lua.loadModule(filename))
		return false;
	m_width = m_lua.getInteger("width");
	m_height = m_lua.getInteger("height");
	printf("width:%d\theight:%d\tsize:%d\n", m_width,
			m_height, m_lua.getStackSize());
	return true;
}